<!--家族病史-->
<div class="td-patient-me-medical-record-family-history">
  <div class="btn-insert">
    <el-button type="primary" size="mini" @click="btnModify();">新增</el-button>
  </div>
  <div class="table-box">
    <table class="table" v-for="(item,index) in familyMedicalHistoryList" :key="index">
      <tr>
        <td>家族：</td>
        <td>
          <span v-if="item.FamilyType===0">男方家族</span>
          <span v-if="item.FamilyType===1">女方家族</span>
        </td>
      </tr>
      <tr>
        <td>关系：</td>
        <td>{{item.Relation}}</td>
      </tr>
      <tr>
        <td>病史：</td>
        <td>{{item.Medical}}</td>
      </tr>
      <tr v-if="item.Medical.split(',').includes('其它')">
        <td>其它病种：</td>
        <td>{{item.OtherMedical}}</td>
      </tr>
      <tr>
        <td>备注：</td>
        <td>{{item.Remark}}</td>
      </tr>
      <tr>
        <td colspan="2">
          <el-button type="warning" size="mini" @click.native="btnModify(item);">变更</el-button>
        </td>
      </tr>
    </table>
  </div>

  <div class="btn-insert">
    <el-button size="mini" @click.native="btnPrev();">上一步</el-button>
    <el-button type="primary" size="mini" @click="btnModify();">新增</el-button>
    <el-button size="mini" @click.native="btnNext();">下一步</el-button>
  </div>
</div>
